<?php
class Core_Menu 
{

	public static $menu = array(
		0 => array(
			
		),
		1 => array(
		
		),
		2 => array(
			'Portfel' => array( 
				'controller' => 'wallet',
				'ico' => 'wallet_64.png' 
			),
			'Obiekty' => array( 
				'controller' => 'objects',
				'ico' => 'stop_64.png' 
			),
			'Historia' => array( 
				'controller' => 'history',
				'ico' => 'clipboard_64.png' 
			),
			'Użytkownicy' => array( 
				'controller' => 'users',
				'ico' => 'user_64.png' 
			)
		)
	);
	
	static public function get( $role ) {
		return isSet( Core_Menu::$menu[$role] ) ? Core_Menu::$menu[$role] : false;
	}
}	